package com.itheima.Demo3.domain;

//狗类

public class Dog extends Amimal {

    public void eat(){
        System.out.println(super.getName()+"吃骨头");
    }

    public Dog(String name, int age) {
        super(name, age);
    }

    public Dog() {
    }
}
